sum = 0
for i in range(624,0,-1):
    sum += 1 / ( i**0.5 + (i+1)**0.5 )
print(sum)